! function(e) {
    function t(n) {
        if (r[n]) return r[n].exports;
        var a = r[n] = {
            exports: {},
            id: n,
            loaded: !1
        };
        return e[n].call(a.exports, a, a.exports, t), a.loaded = !0, a.exports
    }
    var n = window.webpackJsonp;
    window.webpackJsonp = function(c, o) {
        for (var i, p, f = 0, s = []; f < c.length; f++) p = c[f], a[p] && s.push.apply(s, a[p]), a[p] = 0;
        for (i in o)
            if (Object.prototype.hasOwnProperty.call(o, i)) {
                var l = o[i];
                switch (typeof l) {
                    case "object":
                        e[i] = function(t) {
                            var n = t.slice(1),
                                r = t[0];
                            return function(t, a, c) {
                                e[r].apply(this, [t, a, c].concat(n))
                            }
                        }(l);
                        break;
                    case "function":
                        e[i] = l;
                        break;
                    default:
                        e[i] = e[l]
                }
            } for (n && n(c, o); s.length;) s.shift().call(null, t);
        if (o[0]) return r[0] = 0, t(0)
    };
    var r = {},
        a = {
            0: 0
        };
    t.e = function(e, n) {
        if (0 === a[e]) return n.call(null, t);
        if (void 0 !== a[e]) a[e].push(n);
        else {
            a[e] = [n];
            var r = document.getElementsByTagName("head")[0],
                c = document.createElement("script");
            c.type = "text/javascript", c.charset = "utf-8", c.async = !0, c.src = t.p + "" + ({
                1: "index"
            } [e] || e) + "-" + {
                1: "b1f4a9077efff0030829"
            } [e] + ".js", r.appendChild(c)
        }
    }, t.m = e, t.c = r, t.p = ""
}(function(e) {
    for (var t in e)
        if (Object.prototype.hasOwnProperty.call(e, t)) switch (typeof e[t]) {
            case "function":
                break;
            case "object":
                e[t] = function(t) {
                    var n = t.slice(1),
                        r = e[t[0]];
                    return function(e, t, a) {
                        r.apply(this, [e, t, a].concat(n))
                    }
                }(e[t]);
                break;
            default:
                e[t] = e[e[t]]
        }
    return e
}([]));
webpackJsonp([1, 0], [function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }

    function a(e) {
        var t = m(".ft-info.i2")[0],
            n = m(".ft-info.i3")[0];
        if (t && e.version) {
            var o = t.innerHTML;
            t.innerHTML = o.substr(0, o.indexOf("\uff1a") + 1) + e.version
        }
        if (n && e.date) {
            var a = n.innerHTML;
            n.innerHTML = a.substr(0, a.indexOf("\uff1a") + 1) + e.date
        }
    }

    function r() {
        a({
            version: localStorage.getItem(_),
            date: localStorage.getItem(S)
        });
        var e = "https://render.alipay.com/p/h5data/landingConfig_version-h5data.json";
        s.default.browser.ios && (e =
            "https://render.alipay.com/p/h5data/landingConfig_ios-version-h5data.json"), m.getJSON(e,
            function(e) {
                e && (a(e), localStorage.setItem(_, e.version), localStorage.setItem(S, e.date))
            })
    }
    var i = Object.assign || function(e) {
            for (var t = 1; t < arguments.length; t++) {
                var n = arguments[t];
                for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o])
            }
            return e
        },
        l = n(1),
        u = o(l),
        d = n(2),
        s = o(d),
        f = n(17),
        c = o(f),
        p = n(10),
        g = o(p);
    n(19);
    var h = n(3),
        m = window.Zepto,
        w = !1,
        v = null;
    console.log(h);
    var b = function() {
            window.Tracker && (window.Tracker.mPageState = c.default.getHash("from")), window.Tracker &&
                window.Tracker.start(), window.onerror = function(e) {
                    s.default.log("jsError:JS\u9519\u8bef", {
                        msg: JSON.stringify(e)
                    }), console.log("ERROR :", JSON.stringify(e), e && e.originalEvent && e
                        .originalEvent.error)
                }
        },
        y = function() {
            if (w) return void u.default.log("alreadyOpen");
            if (O) {
                u.default.log("\u652f\u4ed8\u5b9d\u5185"), s.default.log(
                    "isInAlipay:\u652f\u4ed8\u5b9d\u5185", {
                        url: location.href
                    }), document.addEventListener("pageResume", function() {
                    setTimeout(function() {
                        window.AlipayJSBridge && AlipayJSBridge.call("closeWebview")
                    }, 1e3)
                }, !1);
                var e = c.default.getAllParams(I),
                    t = (e.appId || e.saId || "").replace(/\s+/, "");
                u.default.log("appId", t), u.default.log("\u53c2\u6570", e), t ? s.default.onJSBridgeReady(
                    function() {
                        if (s.default.log("jsapiReady"), u.default.log("jsapi ready"), c.default
                            .canRunNewCode()) {
                            s.default.log("canRunNewCode");
                            var n = "20000067" === t ? {
                                    appClearTop: !1,
                                    startMultApp: "YES"
                                } : {},
                                o = c.default.getAllParams(I),
                                a = AlipayJSBridge.startupParams || {},
                                r = {
                                    appId: t,
                                    param: i({}, n, o, {
                                        fromLanding: !0,
                                        appStartUpType: a.app_startup_type,
                                        refferId: a.ap_framework_sceneId || "landing"
                                    })
                                };
                            c.default.getSceneStackInfo(function(n) {
                                if (n && 0 === n.currentIndex) {
                                    s.default.log("currentIndex0");
                                    var o = !s.default.isNewVersion(null, "10.1.22") &&
                                        "10000007" === t && !!e.qrcode && s.default.browser.ios;
                                    o || (r.closeCurrentApp = !0)
                                } else s.default.log("sceneStackCurrentIndexOther");
                                u.default.log("final", r), setTimeout(function() {
                                    window.Tracert.click("c24334.d45356"),
                                        AlipayJSBridge.call("startApp", r)
                                }, 600)
                            })
                        } else s.default.log("schemeOld:\u7070\u5ea6\u524d"), u.default.log(
                            "scheme old", I), setTimeout(function() {
                            window.Tracert.click("c24334.d45356"), h.gotoPage(I, M)
                        }, 600)
                    }) : (s.default.log("urlOpen:url\u65b9\u5f0f\u6253\u5f00"), u.default.log(
                    "url open", I), setTimeout(function() {
                    window.Tracert.click("c24334.d45356"), location.replace(I)
                }, 600))
            } else {
                u.default.log("\u652f\u4ed8\u5b9d\u5916"), s.default.log(
                    "isOutAlipay:\u652f\u4ed8\u5b9d\u5916", {
                        url: location.href
                    });
                var n = c.default.getAllParams(I),
                    o = (n.appId || n.saId || "").replace(/\s+/, "");
                u.default.log("appId", o), u.default.log("\u53c2\u6570", n), m(".open").on("click",
                    function() {
                        window.Tracert.click("c24334.d48852"), s.default.log(
                            "openButtonClick:\u6253\u5f00\u652f\u4ed8\u5b9d\u6309\u94ae\u70b9\u51fb"
                            ), h.gotoPage(I, M)
                    }), window.Tracert.click("c24334.d45356"), h.gotoPage(I, M)
            }
            w = !0
        },
        x = function() {
            var e = {
                "^zh-(hk|tw)$": {
                    open: "\u6253\u958b\u652f\u4ed8\u5bf6",
                    download: "\u4e0b\u8f09\u652f\u4ed8\u5bf6",
                    tip: "QQ\u700f\u89bd\u5668\u4e0d\u652f\u6301\u6253\u958b\u652f\u4ed8\u5bf6<br>\u8acb\u4f7f\u7528\u5176\u4ed6\u700f\u89bd\u5668",
                    info1: "APP\u958b\u767c\u8005\uff1a\u652f\u4ed8\u5bf6\uff08\u676d\u5dde\uff09\u4fe1\u606f\u6280\u8853\u6709\u9650\u516c\u53f8",
                    info2: "APP\u7248\u672c\u865f\uff1aV10.2.28",
                    info3: "APP\u66f4\u65b0\u6642\u9593\uff1a2021/07/27",
                    link1: "\u6536\u8cbb\u898f\u5247",
                    link2: "\u96b1\u79c1\u653f\u7b56",
                    link3: "\u670d\u52d9\u5354\u8b70\u66f4\u65b0",
                    link4: "\u6b0a\u9650\u5217\u8868",
                    pageTitle: "\u652f\u4ed8\u5bf6"
                },
                "^en-": {
                    open: "Open Alipay",
                    download: "Download Alipay",
                    tip: "Unable to open Alipay using QQ browser.<br>To open, please use a different browser",
                    info1: "App developer: Alipay (Hangzhou) Technology Co., Ltd",
                    info2: "Version\uff1aV10.2.28",
                    info3: "Updated\uff1a2021/07/27",
                    link1: "Fees",
                    link2: "Privacy Policy",
                    link3: "Service Agreement",
                    link4: "Permissions",
                    pageTitle: "Alipay"
                }
            };
            u.default.log("navigator.language", navigator.language);
            var t = urlParams.language || "zh-CN";
            u.default.log("langParam", t);
            for (var n = "\u652f\u4ed8\u5b9d", o = 0; o < Object.keys(e).length; o++) {
                var a = new RegExp(Object.keys(e)[o], "i");
                if (a.test(t) || a.test(navigator.language)) {
                    var r = e[Object.keys(e)[o]];
                    m(".open")[0].innerText = r.open, m(".download")[0].innerText = r.download, m(".tip")[0]
                        .innerHTML = r.tip, m(".ft-info.i1")[0].innerHTML = r.info1, m(".ft-info.i2")[0]
                        .innerHTML = r.info2, m(".ft-info.i3")[0].innerHTML = r.info3, m(".links2 .l1")[0]
                        .innerHTML = r.link1, m(".links2 .l2")[0].innerHTML = r.link2, m(".links2 .l3")[0]
                        .innerHTML = r.link3, m(".links2 .l4")[0].innerHTML = r.link4, n = r.pageTitle;
                    break
                }
            }
            m("title").text(n), document.body.className = O ? "inside" : "outside";
            var i = m(".footer>.links2 a, .footer>p.ft-info");
            "en-" === navigator.language.slice(0, 3) && m(window).height() < 340 && i.css({
                fontSize: ".23rem"
            }), m(".footer").show(), k(), window.addEventListener("orientationchange", k, !1)
        },
        k = function() {
            null === v && (v = !0, setInterval(function() {
                try {
                    var e = 0,
                        t = 0,
                        n = 0,
                        o = m(".actions").offset();
                    o && (e = o.top + o.height);
                    var a = m(".footer").offset();
                    a && (t = a.top, n = a.height);
                    var r = m(window).height();
                    e > t ? m(".footer").css({
                        bottom: "initial",
                        top: e + 10 + "px",
                        marginBottom: "20px"
                    }) : r - t < 120 && t > e && r - e > n + 20 && m(".footer").css({
                        bottom: "20px",
                        top: "initial"
                    })
                } catch (e) {}
            }, 200))
        },
        _ = "ALIPAY_VERSION",
        S = "ALIPAY_VERSION_UPDATE_DATE",
        P = function() {
            return u.default.log("ua", A), u.default.log("scheme", I), x(), r(), (0, g.default)() ?
            void y() : void u.default.log("flow hang up")
        },
        A = window.navigator.userAgent,
        O = /AlipayClient/.test(A) && !/KoubeiClient/.test(A),
        M = "com.eg.android.AlipayGphone",
        T = c.default.getScheme(location.href),
        I = T.scheme;
    b(), P()
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = o(a),
        i = n(16);
    o(i);
    n(18);
    var l = {},
        u = (Zepto, "true" === r.default.getHash("alidebug"));
    l.log = function() {
        var e;
        u && (e = console).log.apply(e, arguments)
    }, window.debug = l, t.default = l, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
            return typeof e
        } : function(e) {
            return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ?
                "symbol" : typeof e
        },
        r = n(1),
        i = o(r),
        l = {};
    l.getHash = function(e) {
        var t = new RegExp("(^|&)" + e + "=([^&]*)(&|$)"),
            n = window.location.search.substr(1).match(t);
        return null !== n ? decodeURIComponent(n[2]) : null
    }, l.dateFormat = function(e, t) {
        e = e ? parseInt(e) : (new Date).getTime(), t = t || "yyyy-MM-dd hh:mm:ss";
        var n = new Date(e),
            o = {
                "M+": n.getMonth() + 1,
                "d+": n.getDate(),
                "h+": n.getHours(),
                "m+": n.getMinutes(),
                "s+": n.getSeconds(),
                "q+": Math.floor((n.getMonth() + 3) / 3),
                S: n.getMilliseconds()
            };
        /(y+)/.test(t) && (t = t.replace(RegExp.$1, (n.getFullYear() + "").substr(4 - RegExp.$1
            .length)));
        for (var a in o) new RegExp("(" + a + ")").test(t) && (t = t.replace(RegExp.$1, 1 === RegExp.$1
            .length ? o[a] : ("00" + o[a]).substr(("" + o[a]).length)));
        return t
    }, l.browser = function() {
        var e = navigator.userAgent,
            t = /^CtClient;[^;]+;[^;]+;[^;]+;[^;]+$/.test(e),
            n = /^jym_mobile/.test(e);
        return {
            mobile: !!e.match(/AppleWebKit.*Mobile.*/) || !!e.match(/AppleWebKit/) || t || n,
            ios: !!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/) || t && /iOS/i.test(e),
            android: e.indexOf("Android") > -1 || e.indexOf("Linux") > -1
        }
    }(), l.clone = function(e) {
        return "object" !== ("undefined" == typeof e ? "undefined" : a(e)) ? void console.log(
            "\u975e\u5bf9\u8c61") : JSON.parse(JSON.stringify(e))
    }, l.scroll = function(e) {
        var t = $(window).height(),
            n = $(window).scrollTop(),
            o = $(document).height(),
            a = void 0;
        $(window).on("scroll", function() {
            clearTimeout(a);
            var r = function() {
                console.log(t, n, o - 40, t + n > o - 40), t + n > o - 40 && e && e
                    .complete && e.complete()
            };
            a = setTimeout(r, 30)
        })
    }, l.imgLoader = function(e) {
        var t = 0,
            n = [],
            o = e.imgArr || [],
            a = e.complete;
        return o.length ? void o.map(function(e) {
            var r = new Image;
            r.src = e, n.push(r), r.onload = function() {
                r.complete === !0 && (t++, t === o.length && (console.log("load successs"),
                    a && a(n)))
            }
        }) : void(a && a(n))
    }, l.outUrl = function(e) {
        var t = "alipays://platformapi/startapp?appId=20000067&url=" + encodeURIComponent(e);
        return "https://ds.alipay.com/?scheme=" + encodeURIComponent(t)
    }, l.log = function(e, t) {
        try {
            window.Tracker && window.Tracker.click(e, t)
        } catch (e) {
            console.log("BizLog error")
        }
    }, l.onJSBridgeReady = function(e) {
        window.AlipayJSBridge && window.AlipayJSBridge.call ? e && e() : document.addEventListener(
            "AlipayJSBridgeReady",
            function() {
                e && e()
            }, !1)
    }, l.isNewVersion = function(e, t) {
        e = e || navigator.userAgent, t = t || "10.1.22";
        var n = e,
            o = function(e) {
                e = e.toString();
                for (var t = e.split("."), n = ["", "0", "00", "000", "0000"], o = n.reverse(), a =
                    0; a < t.length; a++) {
                    var r = t[a].length;
                    t[a] = o[r] + t[a]
                }
                var i = t.join("");
                return i
            };
        try {
            if (/AliApp\(AP/.test(n)) {
                var a = n.split("AliApp(AP/")[1];
                if (a.indexOf(") ").length === -1) return i.default.log("version not found"), !1;
                var r = a.split(") ")[0];
                if (r.indexOf(".").length === -1) return i.default.log("version get error"), !1;
                var l = r.match(/.*\..*\./);
                if (!l[0]) return i.default.log("not match version"), !1;
                var u = l[0].substring(0, l[0].length - 1);
                i.default.log("currentVersion", u);
                var d = o(u),
                    s = o(t);
                return d >= s ? (i.default.log(u + ">=" + t), !0) : (i.default.log(u + "<" + t), !1)
            }
            return i.default.log("can not find AliApp(AP"), !1
        } catch (e) {
            return !1
        }
    }, l.loadJS = function(e, t) {
        var n = document.createElement("script"),
            o = document.getElementsByTagName("head")[0],
            a = void 0;
        n.src = e, "function" == typeof t && (n.onload = n.onreadystatechange = function() {
            a || n.readyState && !/loaded|complete/.test(n.readyState) || (n.onload = n
                .onreadystatechange = null, a = !0, t && t())
        }), o.appendChild(n)
    }, t.default = l, e.exports = t.default
}, function(e, t, n) {
    ! function(t, n) {
        e.exports = n()
    }(this, function() {
        return function(e) {
            function t(o) {
                if (n[o]) return n[o].exports;
                var a = n[o] = {
                    exports: {},
                    id: o,
                    loaded: !1
                };
                return e[o].call(a.exports, a, a.exports, t), a.loaded = !0, a.exports
            }
            var n = {};
            return t.m = e, t.c = n, t.p = "", t(0)
        }([function(e, t, n) {
            "use strict";

            function o(e) {
                return e && e.__esModule ? e : {
                    default: e
                }
            }

            function a(e, t) {
                for (var n = e.split("."), o = t.split("."), a = 0; a < n.length || a < o
                    .length; a += 1) {
                    var r = parseInt(n[a], 10) || 0,
                        i = parseInt(o[a], 10) || 0;
                    if (r < i) return -1;
                    if (r > i) return 1
                }
                return 0
            }

            function r(e) {
                f.default.log("in iframe func", e), k || (f.default.log("create iframe"),
                        k = x.createElement("iframe"), k.id = "callapp_iframe_" + Date
                    .now(), k.frameborder = "0", k.style.cssText =
                        "display:none;border:0;width:0;height:0;", x.body.appendChild(k)), k
                    .src = e
            }

            function i(e) {
                return false;
                var t = x.createElement("a");
                t.setAttribute("href", e), t.style.display = "none", x.body.appendChild(t);
                var n = x.createEvent("HTMLEvents");
                n.initEvent("click", !1, !1), t.dispatchEvent(n)
            }

            function l(e) {
                return /^(http|https)\:\/\//.test(e)
            }
            var u = n(1),
                d = o(u),
                s = n(2),
                f = o(s),
                c = {},
                p = "";
            p = d.default.getHash("alidebug") && d.default.getHash("ua") ? d.default
                .getHash("ua") : window.navigator.userAgent;
            var g = !1,
                h = !1,
                m = "",
                w = p.match(/Android[\s\/]([\d\.]+)/);
            w ? (g = !0, m = w[1]) : p.match(/(iPhone|iPad|iPod)/) && (h = !0, w = p.match(
                    /OS ([\d_\.]+) like Mac OS X/), w && (m = w[1].split("_").join(
                ".")));
            var v = !1,
                b = !1,
                y = !1;
            p.match(/(?:Chrome|CriOS)\/([\d\.]+)/) ? (v = !0, p.match(
                    /Version\/[\d+\.]+\s*Chrome/) && (y = !0)) : p.match(
                /iPhone|iPad|iPod/) && (p.match(/Safari/) && p.match(/Version\/([\d\.]+)/) ?
                    b = !0 : p.match(/OS ([\d_\.]+) like Mac OS X/) && (y = !0));
            var x = window.document,
                k = void 0;
            c.gotoPage = function(e, t, n) {
                var o = e;
                f.default.log("targetUrl", e);
                var u = g && v && !y,
                    d = g && !!p.match(/samsung/i) && a(m, "4.3") >= 0 && a(m, "4.5") <
                    0,
                    s = h && a(m, "9.0") >= 0 && b;
                if (f.default.log("isOriginalChrome", u), f.default.log("fixUgly", d), f
                    .default.log("ios9SafariFix", s), f.default.log("forceIntent", n),
                    u || n) {
                    var c = o.substring(0, o.indexOf("://")),
                        w = "#Intent;scheme=" + c + ";package=" + t + ";end";
                    o = o.replace(/.*?\:\/\//, "intent://"), o += w, f.default.log(
                        "Intent", o)
                }
                if (s) {
                    if (l(o)) return window.Tracker && window.Tracker.click && window
                        .Tracker.click("not_schema"), void f.default.log(
                            "not schema");
                    setTimeout(function() {
                        i(o)
                    }, 100)
                } else if (0 === o.indexOf("intent:")) f.default.log("jump intent"),
                    setTimeout(function() {
                        window.location.href = o
                    }, 100);
                else {
                    var x =
                        /^(http(s)?\:|javascript\:|vbscript\:|file\:|data\:|sms\:|smsto\:|tel\:|mailto\:|aliim\:|dingtalk\:|weixin\:)/;
                    x.test(o.toLocaleLowerCase()) ? f.default.log("schema is url") : (f
                        .default.log("call in iframe"), r(o))
                }
            }, e.exports = c
        }, function(e, t) {
            "use strict";
            Object.defineProperty(t, "__esModule", {
                value: !0
            });
            var n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ?
                function(e) {
                    return typeof e
                } : function(e) {
                    return e && "function" == typeof Symbol && e.constructor === Symbol &&
                        e !== Symbol.prototype ? "symbol" : typeof e
                },
                o = {};
            o.getHash = function(e) {
                var t = new RegExp("(^|&)" + e + "=([^&]*)(&|$)"),
                    n = window.location.search.substr(1).match(t);
                return null !== n ? unescape(n[2]) : null
            }, o.dateFormat = function(e, t) {
                e = e ? parseInt(e) : (new Date).getTime(), t = t ||
                    "yyyy-MM-dd hh:mm:ss";
                var n = new Date(e),
                    o = {
                        "M+": n.getMonth() + 1,
                        "d+": n.getDate(),
                        "h+": n.getHours(),
                        "m+": n.getMinutes(),
                        "s+": n.getSeconds(),
                        "q+": Math.floor((n.getMonth() + 3) / 3),
                        S: n.getMilliseconds()
                    };
                /(y+)/.test(t) && (t = t.replace(RegExp.$1, (n.getFullYear() + "")
                    .substr(4 - RegExp.$1.length)));
                for (var a in o) new RegExp("(" + a + ")").test(t) && (t = t.replace(
                    RegExp.$1, 1 === RegExp.$1.length ? o[a] : ("00" + o[a])
                    .substr(("" + o[a]).length)));
                return t
            }, o.browser = function() {
                var e = navigator.userAgent;
                return navigator.appVersion, {
                    mobile: !!e.match(/AppleWebKit.*Mobile.*/) || !!e.match(
                        /AppleWebKit/),
                    ios: !!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
                    android: e.indexOf("Android") > -1 || e.indexOf("Linux") > -1
                }
            }(), o.clone = function(e) {
                return "object" !== ("undefined" == typeof e ? "undefined" : n(e)) ?
                    void console.log("\u975e\u5bf9\u8c61") : JSON.parse(JSON.stringify(
                        e))
            }, t.default = o, e.exports = t.default
        }, function(e, t, n) {
            "use strict";

            function o(e) {
                return e && e.__esModule ? e : {
                    default: e
                }
            }
            Object.defineProperty(t, "__esModule", {
                value: !0
            });
            var a = n(1),
                r = o(a),
                i = n(3);
            o(i), n(4);
            var l = {};
            l.log = function() {
                var e, t = "true" === r.default.getHash("alidebug");
                t && (e = console).log.apply(e, arguments)
            }, window.debug = l, t.default = l, e.exports = t.default
        }, function(e, t) {
            "use strict";
            Object.defineProperty(t, "__esModule", {
                value: !0
            });
            var n = {
                pop: function() {
                    return '\n      <div id="aliDebugPop">\n        <div id="aliDebugPopbox">\n          <ul id="aliDebugPopboxContent">\n          </ul>\n        </div>\n        <button id="aliDebugPopboxClear" class="ali-debug-button">\u6e05\u5c4f</button>\n        <button id="aliDebugPopboxClose" class="ali-debug-button">\u5173\u95ed</button>\n      </div>\n    '
                },
                popItem: function(e) {
                    return "\n      <li>" + e + "</li>\n    "
                }
            };
            t.default = n, e.exports = t.default
        }, function(e, t, n) {
            var o = n(5);
            "string" == typeof o && (o = [
                [e.id, o, ""]
            ]);
            var a, r = {};
            r.transform = a, n(7)(o, r), o.locals && (e.exports = o.locals)
        }, function(e, t, n) {
            t = e.exports = n(6)(void 0), t.push([e.id,
                "#aliDebugPop{position:fixed;right:0;bottom:0;width:4.5rem;height:7rem}#aliDebugPop #aliDebugPopbox{position:relative;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;border-radius:.1rem;background:rgba(0,0,0,.5);color:#fff}#aliDebugPop #aliDebugPopbox ul{width:100%;height:100%}#aliDebugPop #aliDebugPopbox ul li{line-height:.3rem;border-bottom:1px dotted hsla(0,0%,100%,.6);background:rgba(0,0,0,.5);color:hsla(0,0%,100%,.9);text-align:left;padding:.1rem .05rem;word-break:break-all}#aliDebugPop #aliDebugPopbox ul li:last-child{border-bottom:none}#aliDebugPop .ali-debug-button{position:absolute;z-index:1000;right:0;height:.4rem;line-height:.4rem;width:.8rem;top:-.43rem;color:hsla(0,0%,100%,.8);border-radius:.1rem;background:transparent;border:1px solid rgba(0,0,0,.5);background:rgba(0,0,0,.4);cursor:pointer}#aliDebugPop .ali-debug-button:active{color:hsla(0,0%,100%,.6);background:rgba(0,0,0,.6)}#aliDebugPop #aliDebugPopboxClear{right:.9rem}",
                ""
            ])
        }, function(e, t) {
            function n(e, t) {
                var n = e[1] || "",
                    a = e[3];
                if (!a) return n;
                if (t && "function" == typeof btoa) {
                    var r = o(a),
                        i = a.sources.map(function(e) {
                            return "/*# sourceURL=" + a.sourceRoot + e + " */"
                        });
                    return [n].concat(i).concat([r]).join("\n")
                }
                return [n].join("\n")
            }

            function o(e) {
                var t = btoa(unescape(encodeURIComponent(JSON.stringify(e)))),
                    n = "sourceMappingURL=data:application/json;charset=utf-8;base64," + t;
                return "/*# " + n + " */"
            }
            e.exports = function(e) {
                var t = [];
                return t.toString = function() {
                    return this.map(function(t) {
                        var o = n(t, e);
                        return t[2] ? "@media " + t[2] + "{" + o + "}" : o
                    }).join("")
                }, t.i = function(e, n) {
                    "string" == typeof e && (e = [
                        [null, e, ""]
                    ]);
                    for (var o = {}, a = 0; a < this.length; a++) {
                        var r = this[a][0];
                        "number" == typeof r && (o[r] = !0)
                    }
                    for (a = 0; a < e.length; a++) {
                        var i = e[a];
                        "number" == typeof i[0] && o[i[0]] || (n && !i[2] ? i[2] =
                            n : n && (i[2] = "(" + i[2] + ") and (" + n + ")"),
                            t.push(i))
                    }
                }, t
            }
        }, function(e, t, n) {
            function o(e, t) {
                for (var n = 0; n < e.length; n++) {
                    var o = e[n],
                        a = g[o.id];
                    if (a) {
                        a.refs++;
                        for (var r = 0; r < a.parts.length; r++) a.parts[r](o.parts[r]);
                        for (; r < o.parts.length; r++) a.parts.push(s(o.parts[r], t))
                    } else {
                        for (var i = [], r = 0; r < o.parts.length; r++) i.push(s(o.parts[
                            r], t));
                        g[o.id] = {
                            id: o.id,
                            refs: 1,
                            parts: i
                        }
                    }
                }
            }

            function a(e, t) {
                for (var n = [], o = {}, a = 0; a < e.length; a++) {
                    var r = e[a],
                        i = t.base ? r[0] + t.base : r[0],
                        l = r[1],
                        u = r[2],
                        d = r[3],
                        s = {
                            css: l,
                            media: u,
                            sourceMap: d
                        };
                    o[i] ? o[i].parts.push(s) : n.push(o[i] = {
                        id: i,
                        parts: [s]
                    })
                }
                return n
            }

            function r(e, t) {
                var n = w(e.insertInto);
                if (!n) throw new Error(
                    "Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid."
                    );
                var o = y[y.length - 1];
                if ("top" === e.insertAt) o ? o.nextSibling ? n.insertBefore(t, o
                        .nextSibling) : n.appendChild(t) : n.insertBefore(t, n.firstChild),
                    y.push(t);
                else {
                    if ("bottom" !== e.insertAt) throw new Error(
                        "Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."
                        );
                    n.appendChild(t)
                }
            }

            function i(e) {
                e.parentNode.removeChild(e);
                var t = y.indexOf(e);
                t >= 0 && y.splice(t, 1)
            }

            function l(e) {
                var t = document.createElement("style");
                return e.attrs.type = "text/css", d(t, e.attrs), r(e, t), t
            }

            function u(e) {
                var t = document.createElement("link");
                return e.attrs.type = "text/css", e.attrs.rel = "stylesheet", d(t, e.attrs),
                    r(e, t), t
            }

            function d(e, t) {
                Object.keys(t).forEach(function(n) {
                    e.setAttribute(n, t[n])
                })
            }

            function s(e, t) {
                var n, o, a, r;
                if (t.transform && e.css) {
                    if (r = t.transform(e.css), !r) return function() {};
                    e.css = r
                }
                if (t.singleton) {
                    var d = b++;
                    n = v || (v = l(t)), o = f.bind(null, n, d, !1), a = f.bind(null, n, d,
                        !0)
                } else e.sourceMap && "function" == typeof URL && "function" == typeof URL
                    .createObjectURL && "function" == typeof URL.revokeObjectURL &&
                    "function" == typeof Blob && "function" == typeof btoa ? (n = u(t), o =
                        p.bind(null, n, t), a = function() {
                            i(n), n.href && URL.revokeObjectURL(n.href)
                        }) : (n = l(t), o = c.bind(null, n), a = function() {
                        i(n)
                    });
                return o(e),
                    function(t) {
                        if (t) {
                            if (t.css === e.css && t.media === e.media && t.sourceMap === e
                                .sourceMap) return;
                            o(e = t)
                        } else a()
                    }
            }

            function f(e, t, n, o) {
                var a = n ? "" : o.css;
                if (e.styleSheet) e.styleSheet.cssText = k(t, a);
                else {
                    var r = document.createTextNode(a),
                        i = e.childNodes;
                    i[t] && e.removeChild(i[t]), i.length ? e.insertBefore(r, i[t]) : e
                        .appendChild(r)
                }
            }

            function c(e, t) {
                var n = t.css,
                    o = t.media;
                if (o && e.setAttribute("media", o), e.styleSheet) e.styleSheet.cssText = n;
                else {
                    for (; e.firstChild;) e.removeChild(e.firstChild);
                    e.appendChild(document.createTextNode(n))
                }
            }

            function p(e, t, n) {
                var o = n.css,
                    a = n.sourceMap,
                    r = void 0 === t.convertToAbsoluteUrls && a;
                (t.convertToAbsoluteUrls || r) && (o = x(o)), a && (o +=
                    "\n/*# sourceMappingURL=data:application/json;base64," + btoa(
                        unescape(encodeURIComponent(JSON.stringify(a)))) + " */");
                var i = new Blob([o], {
                        type: "text/css"
                    }),
                    l = e.href;
                e.href = URL.createObjectURL(i), l && URL.revokeObjectURL(l)
            }
            var g = {},
                h = function(e) {
                    var t;
                    return function() {
                        return "undefined" == typeof t && (t = e.apply(this,
                            arguments)), t
                    }
                },
                m = h(function() {
                    return window && document && document.all && !window.atob
                }),
                w = function(e) {
                    var t = {};
                    return function(n) {
                        return "undefined" == typeof t[n] && (t[n] = e.call(this, n)),
                            t[n]
                    }
                }(function(e) {
                    return document.querySelector(e)
                }),
                v = null,
                b = 0,
                y = [],
                x = n(8);
            e.exports = function(e, t) {
                t = t || {}, t.attrs = "object" == typeof t.attrs ? t.attrs : {},
                    "undefined" == typeof t.singleton && (t.singleton = m()),
                    "undefined" == typeof t.insertInto && (t.insertInto = "head"),
                    "undefined" == typeof t.insertAt && (t.insertAt = "bottom");
                var n = a(e, t);
                return o(n, t),
                    function(e) {
                        for (var r = [], i = 0; i < n.length; i++) {
                            var l = n[i],
                                u = g[l.id];
                            u.refs--, r.push(u)
                        }
                        if (e) {
                            var d = a(e, t);
                            o(d, t)
                        }
                        for (var i = 0; i < r.length; i++) {
                            var u = r[i];
                            if (0 === u.refs) {
                                for (var s = 0; s < u.parts.length; s++) u.parts[s]();
                                delete g[u.id]
                            }
                        }
                    }
            };
            var k = function() {
                var e = [];
                return function(t, n) {
                    return e[t] = n, e.filter(Boolean).join("\n")
                }
            }()
        }, function(e, t) {
            e.exports = function(e) {
                var t = "undefined" != typeof window && window.location;
                if (!t) throw new Error("fixUrls requires window.location");
                if (!e || "string" != typeof e) return e;
                var n = t.protocol + "//" + t.host,
                    o = n + t.pathname.replace(/\/[^\/]*$/, "/"),
                    a = e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,
                        function(e, t) {
                            var a = t.trim().replace(/^"(.*)"$/, function(e, t) {
                                return t
                            }).replace(/^'(.*)'$/, function(e, t) {
                                return t
                            });
                            if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(a))
                                return e;
                            var r;
                            return r = 0 === a.indexOf("//") ? a : 0 === a.indexOf(
                                "/") ? n + a : o + a.replace(/^\.\//, ""), "url(" + JSON
                                .stringify(r) + ")"
                        });
                return a
            }
        }])
    })
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = (o(a), n(1)),
        i = o(r),
        l = window.Zepto,
        u = !1,
        d = function() {
            if (i.default.log("\u6536\u94f6\u53f0"), !u) return l("body").append(
                '<div id="h5cashierBack" class="h5cashier-header">\n      <h1>\u652f\u4ed8\u5b9d</h1>\n      <i class="arrow-back">\u8fd4\u56de</i>\n    </div>'
                ), l("#h5cashierBack").on("click", function(e, t) {
                e.preventDefault(), "sdk" === window.urlParams.backTarget ? (i.default.log(
                        "\u9000\u51fasdk\u6253\u5f00\u7684\u9875\u9762"), location.href =
                    "sdklite://h5quit") : window.history.back()
            }, !1), u = !0, !0
        };
    t.default = d, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = (o(a), n(1)),
        i = (o(r), n(4)),
        l = o(i),
        u = n(7),
        d = o(u),
        s = n(6),
        f = o(s),
        c = {
            "skin-h5cashier": l.default,
            zxd: d.default,
            kstq: f.default
        };
    t.default = c, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = o(a),
        i = n(1),
        l = o(i),
        u = (window.Zepto, !1),
        d = function() {
            if (!u) {
                r.default.log("kstq_PV:\u8003\u751f\u7279\u6743\u6e20\u9053PV");
                var e = navigator.userAgent.toLocaleLowerCase();
                return e.indexOf("alipay") > 0 ? (r.default.log(
                    "kstq_in_alipay:\u8003\u751f\u7279\u6743\u6e20\u9053_\u652f\u4ed8\u5b9d\u5185\u6253\u5f00"
                    ), l.default.log("kstq:in alipay"), r.default.onJSBridgeReady(function() {
                    l.default.log("kstq:start push window"), AlipayJSBridge.call("pushWindow", {
                        url: "alipays://platformapi/startapp?appId=20000178&bizScenario=gaokao&url=%2Fwww%2Findex.html%3FappCode%3DgaokaochaxunApp"
                    })
                }), !1) : (r.default.log(
                    "kstq_out_alipay:\u8003\u751f\u7279\u6743\u6e20\u9053_\u652f\u4ed8\u5b9d\u5916\u6253\u5f00"
                    ), l.default.log("kstq:out of alipay"), !1)
            }
            u = !0
        };
    t.default = d, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = o(a),
        i = n(1),
        l = o(i),
        u = (window.Zepto, !1),
        d = function() {
            if (!u) {
                r.default.log("zxd_PV:\u52a9\u5b66\u8d37\u6e20\u9053PV");
                var e = navigator.userAgent.toLocaleLowerCase();
                return e.indexOf("alipay") > 0 ? (r.default.log(
                    "zxd_in_alipay:\u52a9\u5b66\u8d37\u6e20\u9053_\u652f\u4ed8\u5b9d\u5185\u6253\u5f00"
                    ), l.default.log("zxd:in alipay"), r.default.onJSBridgeReady(function() {
                    l.default.log("zxd:start push window"), AlipayJSBridge.call("pushWindow", {
                        url: "alipays://platformapi/startapp?appId=20000047&sourceId=S&publicId=2017052407330286"
                    })
                }), !1) : (r.default.log(
                    "zxd_out_alipay:\u52a9\u5b66\u8d37\u6e20\u9053_\u652f\u4ed8\u5b9d\u5916\u6253\u5f00"
                    ), l.default.log("zxd:out of alipay"), !1)
            }
            u = !0
        };
    t.default = d, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = o(a),
        i = n(1),
        l = o(i),
        u = window.Zepto,
        d = navigator.userAgent.toLocaleLowerCase(),
        s = r.default.getHash("cid") || "wap_dc",
        f = "com.eg.android.AlipayGphone",
        c = function() {
            var e = "https://t.alipayobjects.com/L1/71/100/and/alipay_wap_dc.apk";
            return r.default.browser.mobile ? (r.default.browser.ios ? (l.default.log("download", "IOS"),
                    e = "itms-apps://itunes.apple.com/app/zhi-fu-bao/id333206289?mt=8") : r.default
                .browser.android ? (l.default.log("download", "\u5b89\u5353"), e =
                    "https://t.alipayobjects.com/L1/71/100/and/alipay_" + s + ".apk", window
                    .urlParams && "zxd" === window.urlParams.pageSkin && (e =
                        "http://tfs.alipayobjects.com/L1/71/100/and/alipay_jiaoyu-1.apk"), window
                    .urlParams && "kstq" === window.urlParams.pageSkin && (e =
                        "http://tfs.alipayobjects.com/L1/71/100/and/alipay_jiaoyu.apk"), window
                    .urlParams && "t" === window.urlParams.mk && (e =
                        "market://details?id=com.eg.android.AlipayGphone")) : /^.*(windows phone).*$/
                .test(d) ? (l.default.log("download", "winphone"), e =
                    "http://www.windowsphone.com/zh-cn/store/app/%E6%94%AF%E4%BB%98%E5%AE%9D%E9%92%B1%E5%8C%85/8ce634b0-1861-4006-a31d-93c5a2c6073b"
                    ) : l.default.log("download", "\u5176\u4ed6"), e) : void l.default.log("download",
                "\u975emobile")
        },
        p = function() {
            return u(".download").on("click", function() {
                if (window.Tracert.click("c24334.d45355"), r.default.log(
                        "downloadClick:\u4e0b\u8f7d\u6309\u94ae\u70b9\u51fb"), u(void 0).hasClass(
                        "update") ? l.default.log("update") : l.default.log("download"), window
                    .urlParams && "zxd" === window.urlParams.pageSkin && r.default.log(
                        "zxd_download_click:\u52a9\u5b66\u8d37\u6e20\u9053\u5305\u4e0b\u8f7d\u70b9\u51fb"
                        ), window.urlParams && "kstq" === window.urlParams.pageSkin && r.default
                    .log(
                        "kstq_download_click:\u8003\u751f\u7279\u6743\u6e20\u9053\u5305\u4e0b\u8f7d\u70b9\u51fb"
                        ), /AliApp\(TB/.test(window.navigator.userAgent)) return l.default.log(
                    "taobao container"), void r.default.loadJS(
                    "https://g.alicdn.com/mtb/lib-windvane/3.0.0/windvane.js",
                    function() {
                        window.WindVane && window.WindVane.call("TBDeviceInfo",
                            "getInfo", {},
                            function(e) {
                                /^212200@taobao/.test(e.ttid) ? location.href =
                                    "https://play.google.com/store/apps/details?id=" +
                                    f : location.href = c()
                            },
                            function(e) {
                                r.default.log("taobaoDownloadError")
                            })
                    });
                var e = c();
                if (window.injs && "function" == typeof window.injs.downloadApp && r.default.browser
                    .android) try {
                    var t = {};
                    t.appName = f, t.url = e, window.injs.downloadApp(JSON.stringify(t))
                } catch (t) {
                    window.location = e
                } else location.href = e
            }), !0
        };
    t.default = p, e.exports = t.default
}, function(e, t, n) {
    "use strict";
    // function o(e) {
    //     return e && e.__esModule ? e : {
    //         default: e
    //     }
    // }
    // Object.defineProperty(t, "__esModule", {
    //     value: !0
    // });
    // var a = n(2),
    //     r = (o(a), n(1)),
    //     i = (o(r), function() {
    //         return !0
    //     });
    // t.default = i, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(14),
        r = o(a),
        i = n(8),
        l = o(i),
        u = n(13),
        d = o(u),
        s = n(9),
        f = o(s),
        c = n(11),
        p = o(c),
        g = n(12),
        h = o(g),
        m = n(1),
        w = o(m),
        v = function() {
            var e = (0, r.default)(),
                t = (0, d.default)(),
                n = (0, p.default)(),
                o = (0, l.default)(),
                a = (0, f.default)(),
                i = (0, h.default)();
            return w.default.log("middleware", e, t, n, o, a, i), e && t && n && o && a && i
        };
    t.default = v, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = (o(a), n(1)),
        i = o(r),
        l = window.Zepto,
        u = function() {
            return window.urlParams.nojump && "true" === String(window.urlParams.nojump) ? (i.default.log(
                    "noJump", !0), l(".open").remove(), !1) : "publicmessage" !== window.urlParams
                .comeFrom || (i.default.log("comeFrom publicmessage", !0), !1)
        };
    t.default = u, e.exports = t.default
}, function(e, t) {
    "use strict";
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var n = window.Zepto,
        o = function() {
            return window.urlParams.hideOpen && "true" === String(window.urlParams.hideOpen) && n(".open")
                .hide(), !0
        };
    t.default = o, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = o(a),
        i = n(1),
        l = o(i),
        u = navigator.userAgent.toLocaleLowerCase(),
        d = window.Zepto,
        s = function() {
            var e = !0;
            /^.*(windows phone|android|adr|iphone|ipod|ipad|symbianos).*$/.test(u) || (window.location
                    .href = "https://mobile.alipay.com/index.htm?cid=" + window.urlParams.cid, e = !1),
                /.*(micromessenger|wechat).*$/.test(u) && (e = !1);
            var t = u.indexOf("alipay") > 0,
                n = window.urlParams.minVersion,
                o = n && r.default.isNewVersion(!1, window.urlParams.minVersion),
                a = "lowVersionMessage" === window.urlParams.froms;
            if (l.default.log("minVersion", t, n, o, a), t && n && !o || a) {
                d(".open").hide();
                var i = new RegExp("^zh-(hk|tw)$", "i").test(window.urlParams.language) ?
                    "\u66f4\u65b0\u652f\u4ed8\u5bf6" : "\u66f4\u65b0\u652f\u4ed8\u5b9d";
                d(".download").addClass("update").text(i), d("body").attr("class", "outside"), e = !1
            }
            return /qq|mqqbrowser/.test(u) && (d(".open").hide(), d(".tip").show()), e
        };
    t.default = s, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(2),
        r = o(a),
        i = n(1),
        l = o(i),
        u = n(5),
        d = o(u),
        s = (window.Zepto, {
            isDebug: r.default.getHash("alidebug"),
            froms: r.default.getHash("from"),
            scheme: r.default.getHash("scheme"),
            rc: r.default.getHash("rc"),
            iframeSrc: r.default.getHash("iframeSrc"),
            cid: r.default.getHash("cid") || "wap_dc",
            nojump: r.default.getHash("nojump"),
            appId: r.default.getHash("appId"),
            pageSkin: r.default.getHash("pageSkin"),
            backTarget: r.default.getHash("backTarget"),
            minVersion: r.default.getHash("minVersion"),
            downloadPageTitle: r.default.getHash("downloadPageTitle") || "\u652f\u4ed8\u5b9d",
            url: r.default.getHash("url"),
            comeFrom: r.default.getHash("comeFrom"),
            hideOpen: r.default.getHash("hideOpen"),
            mk: r.default.getHash("mk"),
            language: r.default.getHash("language") || "zh-CN"
        });
    window.urlParams = s;
    var f = function() {
        l.default.log("urlParams", s);
        var e = !0;
        if (s.froms && r.default.log(s.froms), s.pageSkin) {
            var t = d.default[s.pageSkin];
            !t && l.default.log("pageSkin is undefined"), e = !t || t()
        }
        return e
    };
    t.default = f, e.exports = t.default
}, function(e, t) {
    "use strict";
    var n = {};
    n.getHost = function(e) {
        var t = n.getHostByUrl(e);
        return t ? t : (window.Tracert.click("url.buildFail"), n.getHostByRegx(e))
    }, n.getHostByUrl = function(e) {
        var t = void 0;
        try {
            t = new URL(e)
        } catch (n) {
            t = document.createElement("a"), t.href = e
        }
        return t.host
    }, n.getHostByRegx = function(e) {
        try {
            var t = e.replace(/^https?\:\/\//g, "").replace(/(\/|\?|\#|\;).*/g, "");
            return t.indexOf("@") > -1 ? t.substring(t.indexOf("@") + 1) : t
        } catch (e) {
            console.error("getHostByRegx error", e)
        }
    }, e.exports = n
}, function(e, t) {
    "use strict";
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var n = {
        pop: function() {
            return '\n      <div id="aliDebugPop">\n        <div id="aliDebugPopbox">\n          <ul id="aliDebugPopboxContent">\n          </ul>\n        </div>\n        <button id="aliDebugPopboxClear" class="ali-debug-button">\u6e05\u5c4f</button>\n        <button id="aliDebugPopboxClose" class="ali-debug-button">\u5173\u95ed</button>\n      </div>\n    '
        },
        popItem: function(e) {
            return "\n      <li>" + e + "</li>\n    "
        }
    };
    t.default = n, e.exports = t.default
}, function(e, t, n) {
    "use strict";

    function o(e) {
        return e && e.__esModule ? e : {
            default: e
        }
    }
    Object.defineProperty(t, "__esModule", {
        value: !0
    });
    var a = n(1),
        r = o(a),
        i = n(2),
        l = o(i),
        u = n(15),
        d = o(u),
        s = {},
        f = window.Zepto,
        c = function(e) {
            return f(e).val() && f(e).val().split("|") || []
        },
        p = c("#domainList"),
        g = c("#urlList");
    p.pop(), g.pop(), p.length || l.default.log(
            "domainListError:\u51e4\u8776\u533a\u5757\u540c\u6b65\u83b7\u53d6\u5931\u8d25"), s
        .getAllParams = function(e) {
            for (var t = /[(?|&)]([^=]+)=([^&#]+)/g, n = {}, o = t.exec(e); o;) {
                var a = decodeURIComponent(o[1]),
                    r = decodeURIComponent(o[2]);
                n[a] = r, o = t.exec(e)
            }
            return n
        }, s.isValidUrl = function(e) {
            var t = /^((https?):\/\/)*([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/;
            if (!t.test(e)) return r.default.log("not a url"), !1;
            var n = e.split("?")[0],
                o = g,
                a = function() {
                    try {
                        var t = d.default.getHost(e);
                        return !!t && (r.default.log("url2", n, t), p.some(function(e) {
                            var n = "." === e[0] ? e : "." + e,
                                o = new RegExp(n.replace(/\./g, "\\.") + "$");
                            return o.test("." + t)
                        }))
                    } catch (e) {
                        return l.default.log("ExtraHostError:\u4e0d\u652f\u6301array.some", window.navigator
                            .userAgent), !1
                    }
                };
            return o.indexOf(e) !== -1 || a()
        }, s.isValidScheme = function(e) {
            if (!e || !/^alipay(s|src|qr|mo)?\:\/\/platformapi\/startapp\?/i.test(e)) return r.default.log(
                "isValidScheme null"), !1;
            var t = s.getAllParams(e).url;
            return r.default.log("url", t), !(t && "/" !== t[0] && !s.isValidUrl(t)) || (r.default.log(
                "isValidScheme isValidUrl"), !1)
        }, s.getScheme = function(e) {
            var t = s.getAllParams(e);
            r.default.log("getScheme params", t);
            var n = t.cid || "wap_dc",
                o = !!t.nojump,
                a = t.iframeSrc || t.scheme;
            if (!a) {
                var i = t.appId,
                    l = t.url;
                if (!i && l && (i = "20000067"), i) {
                    for (var u = "alipays://platformapi/startapp?appId=" + encodeURIComponent(i), d = Object
                            .keys(t), f = 0; f < d.length; f++) {
                        var c = d[f];
                        "appId" !== c && (r.default.log("getScheme key", c, t[c]), u += "&" +
                            encodeURIComponent(c) + "=" + encodeURIComponent(t[c]))
                    }
                    a = u
                }
            }
            return r.default.log("isValid", a, s.isValidScheme(a)), a && s.isValidScheme(a) || (a =
                "alipays://platformapi/startapp?appId=20000001"), {
                scheme: a,
                nojump: o,
                cid: n
            }
        }, s.getHash = function(e) {
            var t = new RegExp("(^|&)" + e + "=([^&]*)(&|$)"),
                n = window.location.search.substr(1).match(t);
            return null !== n ? decodeURIComponent(n[2]) : null
        }, s.canRunNewCode = function() {
            var e = Number(f("#greyProgress").val()) || 0,
                t = Math.ceil(100 * Math.random() % 100);
            return r.default.log("grey", t, e), t <= e
        }, s.getSceneStackInfo = function(e) {
            window.AlipayJSBridge && AlipayJSBridge.call("getSceneStackInfo", function(t) {
                r.default.log("getSceneStackInfo", t), e && e(t)
            })
        }, t.default = s, e.exports = t.default
}, function(e, t) {}, 18]);
